﻿IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND Name = 'P_GetEnterpriseByCode')
	BEGIN
		DROP  Procedure  [esf_sso].P_GetEnterpriseByCode
	END

GO

-- [esf_sso].P_GetEnterpriseByCode 'Lateckno'

CREATE Procedure [esf_sso].P_GetEnterpriseByCode
	@pCode		VARCHAR (60)
AS

	SELECT * FROM [esf_sso].VEnterprise WHERE Ent_Code = @pCode

GO